Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): redirect '/index.html' to root '/' #588

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

tadayosi
Copy link
Member

@tadayosi tadayosi commented Oct 3, 2023

When directly accessing to /index.html, React router doesn't treat it as root '/' so the default page resolution didn't happen. This fix changed the React router routes to explicitly redirect '/index.html' to '/'.

This fix is needed for Spring Boot 3 runtime support.

When directly accessing to /index.html, React router doesn't treat it as
root '/' so the default page resolution didn't happen. This fix changed
the React router routes to explicitly redirect '/index.html' to '/'.

This fix is needed for Spring Boot 3 runtime support.
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

Test Results

    8 files  ±0      8 suites  ±0   55m 47s ⏱️ - 4m 44s
  59 tests ±0    58 ✔️ ±0  1 💤 ±0  0 ±0 
468 runs  ±0  460 ✔️ ±0  8 💤 ±0  0 ±0 

Results for commit 2727c02. ± Comparison against base commit e87a08d.

@hawtio-ci
Copy link

hawtio-ci bot commented Oct 3, 2023

Test results

Run attempt: 510
Detailed summary

NAME TESTS PASSED ✅ SKIPPED 💤 FAILED ❌ ERRORS 🚫 TIME 🕖
results-quarkus-node(16)-java(11)-firefox 59 58 1 0 0 438.915
results-quarkus-node(16)-java(17)-firefox 59 58 1 0 0 520.891
results-quarkus-node(18)-java(11)-firefox 59 58 1 0 0 388.054
results-quarkus-node(18)-java(17)-firefox 59 58 1 0 0 380.547
results-springboot-node(16)-java(11)-firefox 58 57 1 0 0 408.03
results-springboot-node(16)-java(17)-firefox 58 57 1 0 0 374.499
results-springboot-node(18)-java(11)-firefox 58 57 1 0 0 470.24
results-springboot-node(18)-java(17)-firefox 58 57 1 0 0 366.125

@tadayosi tadayosi merged commit b0020bd into hawtio:main Oct 3, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant